package com.kkks.spring_rest.tick.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * AbstractWhoGoods entity provides the base persistence definition of the
 * WhoGoods entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractWhoGoods implements java.io.Serializable {

	// Fields

	private Integer goodsId;
	private Short catId;
	private String goodsSn;
	private String goodsName;
	private Double goodsWeight;
	private Double marketPrice;
	private Double shopPrice;
	private Double inPrice;
	private Double promotePrice;
	private String goodsThumb;
	private String goodsImg;
	private String originalImg;
	private String keywords;
	private String goodsBrief;
	private Integer giveIntegral;
	private Boolean isOnSale;
	private Boolean isDelete;
	private Boolean isBest;
	private Boolean isNew;
	private Boolean isHot;
	private Boolean isPromote;
	private Boolean isFreeshipping;
	private Short bonusTypeId;
	private Integer promoteStartDate;
	private Integer promoteEndDate;
	private Integer addTime;
	private Integer lastUpdate;
	private String providerCode;
	private String goodssuppcode;
	private String goodssuppname;
	private String goodssupplink;
	private Double ratePrice;
	private Integer goodsNumber;
	private String sellerNote;
	private String otherPcode;
	private Boolean isMobile;

	// Constructors

	/** default constructor */
	public AbstractWhoGoods() {
	}

	/** full constructor */
	public AbstractWhoGoods(Short catId, String goodsSn, String goodsName,
			Double goodsWeight, Double marketPrice, Double shopPrice,
			Double inPrice, Double promotePrice, String goodsThumb,
			String goodsImg, String originalImg, String keywords,
			String goodsBrief, Integer giveIntegral, Boolean isOnSale,
			Boolean isDelete, Boolean isBest, Boolean isNew, Boolean isHot,
			Boolean isPromote, Boolean isFreeshipping, Short bonusTypeId,
			Integer promoteStartDate, Integer promoteEndDate, Integer addTime,
			Integer lastUpdate, String providerCode, String goodssuppcode,
			String goodssuppname, String goodssupplink, Double ratePrice,
			Integer goodsNumber, String sellerNote, String otherPcode,
			Boolean isMobile) {
		this.catId = catId;
		this.goodsSn = goodsSn;
		this.goodsName = goodsName;
		this.goodsWeight = goodsWeight;
		this.marketPrice = marketPrice;
		this.shopPrice = shopPrice;
		this.inPrice = inPrice;
		this.promotePrice = promotePrice;
		this.goodsThumb = goodsThumb;
		this.goodsImg = goodsImg;
		this.originalImg = originalImg;
		this.keywords = keywords;
		this.goodsBrief = goodsBrief;
		this.giveIntegral = giveIntegral;
		this.isOnSale = isOnSale;
		this.isDelete = isDelete;
		this.isBest = isBest;
		this.isNew = isNew;
		this.isHot = isHot;
		this.isPromote = isPromote;
		this.isFreeshipping = isFreeshipping;
		this.bonusTypeId = bonusTypeId;
		this.promoteStartDate = promoteStartDate;
		this.promoteEndDate = promoteEndDate;
		this.addTime = addTime;
		this.lastUpdate = lastUpdate;
		this.providerCode = providerCode;
		this.goodssuppcode = goodssuppcode;
		this.goodssuppname = goodssuppname;
		this.goodssupplink = goodssupplink;
		this.ratePrice = ratePrice;
		this.goodsNumber = goodsNumber;
		this.sellerNote = sellerNote;
		this.otherPcode = otherPcode;
		this.isMobile = isMobile;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "goods_id", unique = true, nullable = false)
	public Integer getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	@Column(name = "cat_id", nullable = false)
	public Short getCatId() {
		return this.catId;
	}

	public void setCatId(Short catId) {
		this.catId = catId;
	}

	@Column(name = "goods_sn", nullable = false, length = 60)
	public String getGoodsSn() {
		return this.goodsSn;
	}

	public void setGoodsSn(String goodsSn) {
		this.goodsSn = goodsSn;
	}

	@Column(name = "goods_name", nullable = false, length = 120)
	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	@Column(name = "goods_weight", nullable = false, precision = 10, scale = 3)
	public Double getGoodsWeight() {
		return this.goodsWeight;
	}

	public void setGoodsWeight(Double goodsWeight) {
		this.goodsWeight = goodsWeight;
	}

	@Column(name = "market_price", nullable = false, precision = 10)
	public Double getMarketPrice() {
		return this.marketPrice;
	}

	public void setMarketPrice(Double marketPrice) {
		this.marketPrice = marketPrice;
	}

	@Column(name = "shop_price", nullable = false, precision = 10)
	public Double getShopPrice() {
		return this.shopPrice;
	}

	public void setShopPrice(Double shopPrice) {
		this.shopPrice = shopPrice;
	}

	@Column(name = "in_price", nullable = false, precision = 10)
	public Double getInPrice() {
		return this.inPrice;
	}

	public void setInPrice(Double inPrice) {
		this.inPrice = inPrice;
	}

	@Column(name = "promote_price", nullable = false, precision = 10)
	public Double getPromotePrice() {
		return this.promotePrice;
	}

	public void setPromotePrice(Double promotePrice) {
		this.promotePrice = promotePrice;
	}

	@Column(name = "goods_thumb", nullable = false)
	public String getGoodsThumb() {
		return this.goodsThumb;
	}

	public void setGoodsThumb(String goodsThumb) {
		this.goodsThumb = goodsThumb;
	}

	@Column(name = "goods_img", nullable = false)
	public String getGoodsImg() {
		return this.goodsImg;
	}

	public void setGoodsImg(String goodsImg) {
		this.goodsImg = goodsImg;
	}

	@Column(name = "original_img", nullable = false)
	public String getOriginalImg() {
		return this.originalImg;
	}

	public void setOriginalImg(String originalImg) {
		this.originalImg = originalImg;
	}

	@Column(name = "keywords", nullable = false)
	public String getKeywords() {
		return this.keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	@Column(name = "goods_brief", nullable = false)
	public String getGoodsBrief() {
		return this.goodsBrief;
	}

	public void setGoodsBrief(String goodsBrief) {
		this.goodsBrief = goodsBrief;
	}

	@Column(name = "give_integral", nullable = false)
	public Integer getGiveIntegral() {
		return this.giveIntegral;
	}

	public void setGiveIntegral(Integer giveIntegral) {
		this.giveIntegral = giveIntegral;
	}

	@Column(name = "is_on_sale", nullable = false)
	public Boolean getIsOnSale() {
		return this.isOnSale;
	}

	public void setIsOnSale(Boolean isOnSale) {
		this.isOnSale = isOnSale;
	}

	@Column(name = "is_delete", nullable = false)
	public Boolean getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Boolean isDelete) {
		this.isDelete = isDelete;
	}

	@Column(name = "is_best", nullable = false)
	public Boolean getIsBest() {
		return this.isBest;
	}

	public void setIsBest(Boolean isBest) {
		this.isBest = isBest;
	}

	@Column(name = "is_new", nullable = false)
	public Boolean getIsNew() {
		return this.isNew;
	}

	public void setIsNew(Boolean isNew) {
		this.isNew = isNew;
	}

	@Column(name = "is_hot", nullable = false)
	public Boolean getIsHot() {
		return this.isHot;
	}

	public void setIsHot(Boolean isHot) {
		this.isHot = isHot;
	}

	@Column(name = "is_promote", nullable = false)
	public Boolean getIsPromote() {
		return this.isPromote;
	}

	public void setIsPromote(Boolean isPromote) {
		this.isPromote = isPromote;
	}

	@Column(name = "is_freeshipping", nullable = false)
	public Boolean getIsFreeshipping() {
		return this.isFreeshipping;
	}

	public void setIsFreeshipping(Boolean isFreeshipping) {
		this.isFreeshipping = isFreeshipping;
	}

	@Column(name = "bonus_type_id", nullable = false)
	public Short getBonusTypeId() {
		return this.bonusTypeId;
	}

	public void setBonusTypeId(Short bonusTypeId) {
		this.bonusTypeId = bonusTypeId;
	}

	@Column(name = "promote_start_date", nullable = false)
	public Integer getPromoteStartDate() {
		return this.promoteStartDate;
	}

	public void setPromoteStartDate(Integer promoteStartDate) {
		this.promoteStartDate = promoteStartDate;
	}

	@Column(name = "promote_end_date", nullable = false)
	public Integer getPromoteEndDate() {
		return this.promoteEndDate;
	}

	public void setPromoteEndDate(Integer promoteEndDate) {
		this.promoteEndDate = promoteEndDate;
	}

	@Column(name = "add_time", nullable = false)
	public Integer getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Integer addTime) {
		this.addTime = addTime;
	}

	@Column(name = "last_update", nullable = false)
	public Integer getLastUpdate() {
		return this.lastUpdate;
	}

	public void setLastUpdate(Integer lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

	@Column(name = "provider_code", nullable = false, length = 20)
	public String getProviderCode() {
		return this.providerCode;
	}

	public void setProviderCode(String providerCode) {
		this.providerCode = providerCode;
	}

	@Column(name = "goodssuppcode", nullable = false, length = 20)
	public String getGoodssuppcode() {
		return this.goodssuppcode;
	}

	public void setGoodssuppcode(String goodssuppcode) {
		this.goodssuppcode = goodssuppcode;
	}

	@Column(name = "goodssuppname", nullable = false, length = 200)
	public String getGoodssuppname() {
		return this.goodssuppname;
	}

	public void setGoodssuppname(String goodssuppname) {
		this.goodssuppname = goodssuppname;
	}

	@Column(name = "goodssupplink", nullable = false, length = 200)
	public String getGoodssupplink() {
		return this.goodssupplink;
	}

	public void setGoodssupplink(String goodssupplink) {
		this.goodssupplink = goodssupplink;
	}

	@Column(name = "rate_price", nullable = false, precision = 10)
	public Double getRatePrice() {
		return this.ratePrice;
	}

	public void setRatePrice(Double ratePrice) {
		this.ratePrice = ratePrice;
	}

	@Column(name = "goods_number", nullable = false)
	public Integer getGoodsNumber() {
		return this.goodsNumber;
	}

	public void setGoodsNumber(Integer goodsNumber) {
		this.goodsNumber = goodsNumber;
	}

	@Column(name = "seller_note", nullable = false)
	public String getSellerNote() {
		return this.sellerNote;
	}

	public void setSellerNote(String sellerNote) {
		this.sellerNote = sellerNote;
	}

	@Column(name = "other_pcode", nullable = false, length = 30)
	public String getOtherPcode() {
		return this.otherPcode;
	}

	public void setOtherPcode(String otherPcode) {
		this.otherPcode = otherPcode;
	}

	@Column(name = "is_mobile", nullable = false)
	public Boolean getIsMobile() {
		return this.isMobile;
	}

	public void setIsMobile(Boolean isMobile) {
		this.isMobile = isMobile;
	}

}